'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.user1.index);
  // router.delete('/api/orderzzm/:id', controller.orderzzm.destroy);//删除
  // LG
  // 获取 controller.user1.index   user1要改成后台数据库的名字
  // router.get('/api/findschool', controller.school.index);//查找
  // router.get('/api/school/:id', controller.school.show);//查找
  // router.post('/api/addschool', controller.school.create);//增加b b
  // router.delete('/api/delschool/:id', controller.school.destroy);//删除
  // router.put('/api/xgschool/:id', controller.school.update); // 更新
};
